function main() { if (FileExists("C:\\Autoexec.bat")) { MessageBox("Autoexec.bat exists","Found File",0,0); } }